package com.suny.DataDicVal.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Schema(name = "DataDicValDTO",description = "数据字典DTO")
@Data
public class DataDicValDTO  implements Serializable {
    /**
     * 字典编号
     */
    @Schema(name = "dicId",description = "字典编号")
    @NotNull(message = "字典编号不能为空")
    private Integer dicId;
    /**
     * 字典名称
     */
    @NotBlank(message = "字典名称不能为空")
    @Schema(name = "valValue",description = "字典名称")
    private String valValue;
}
